package ooday03;

public class Majordomo extends Employee implements Inter5,Inter6 {
    Majordomo(String name,int age,Double salary){
        super(name,age,salary);

    }

    @Override
    void work() {
        System.out.println(age+"的"+name+"薪资为"+salary+"正在做教学调研");
    }

    @Override
    public void solve() {
        System.out.println(name+"正在为学校解决教师工资问题");
    }

    @Override
    public void train() {
        System.out.println(name+"在培训新老师");
    }

    @Override
    public void edit() {
        System.out.println(name+"在协助完成书籍编辑");
    }
}
